/* pages/chat/chat.wxss */
.container {
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

scroll-view{
  flex: 1;
  overflow-y: auto;
}

.card{
  min-height: calc(100vh - 400rpx);
  margin: 25rpx 30rpx 0;
  background: #fff;
  padding: 32rpx;
  border: 1px #CDCDCD solid;
  border-radius: 16rpx;

  .video{
    height: 400rpx;
    margin: 20rpx 0 ;
    border-radius: 16rpx 16rpx 0 0;
    overflow: hidden;
  }

  .score{
    margin-top: 30rpx;

    .q{
      font-size: 24rpx;
      color: #969696;
      margin: 0 0 30rpx;
    }
    .w{
      height: 38rpx;
      margin-bottom: 20rpx;
      display: flex;
      align-items: center;
      .t{
        font-size: 32rpx;
        font-weight: 700;
        margin-right: 42rpx;
      }
      .s{
        flex: 1;
        display: flex;
        .score-list{
          image{
            width: 40rpx;
            height: 40rpx;
            margin-right: 10rpx;
          }
        }
      }
    }
  }

  .task{
    margin-top: 20rpx;
    overflow: hidden;

    .q, .a{
      font-size: 24rpx;
      color: #969696;
      margin: 0 0 10rpx;
      display: flex;
      justify-content: space-between;
    }
    .q-t, .a-t{
      font-size: 32rpx;
      color: #474747;
      margin: 0 0 20rpx;
    }
    .q-t{
      font-weight: bold;
    }

    &.task-case{
      .files{
        display: flex;
      }
      .file{
        display: flex;
        align-items: center;
        background: #F4F4F4;
        padding: 20rpx 80rpx 20rpx 12rpx;
        border-radius: 8rpx;
        gap: 10rpx;

        .logo{
          image{
            width: 33rpx;
            height: 37rpx;
          }
          margin-right: 30rpx;
        }
        .title{
          font-size: 20rpx;
        }
        .tip{
          font-size: 12rpx;
          color:#969696;
        }
      }
      .detail{
        padding: 30rpx 40rpx 20rpx 30rpx;
        margin-bottom: 20rpx;
        border: 1px #CDCDCD solid;
        border-radius: 16rpx;
        &.extend{
          .title {
            margin-bottom: 10rpx;
          }
          .textarea{
            height: 120rpx;
          }
        }
        .title{
          display: flex;
          justify-content: space-between;
          .left{
            font-size: 32rpx;
            font-weight: 700;
          }
        }
      }

      .label{
        font-size: 32rpx;
        font-weight: 700;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .edit{
        font-size: 22rpx;
        font-weight: normal;
      }

      .value{
        font-size: 32rpx;
        line-height: 48rpx;
        color: #777676;
        text-align: justify;
      }

      .tags{
        margin-bottom: 20rpx;
        .label{
          display: flex;
          align-items: center;
          justify-content: start;
        }
        .tag{
          height: 36rpx;
          line-height: 36rpx;
          padding: 0 15rpx;
          background:  rgb(46 130 255 / 50%);
          border-radius: 4rpx;
          margin-left: 12rpx;
          font-weight: normal;
          font-size: 20rpx;
          color: #fff;
        }
      }

      .col{
        margin-bottom: 20rpx;
        padding: 0 0 20rpx;
        border-bottom: 1px #DBDBDB solid;
        .label{
          margin-bottom: 5rpx;
        }

        &:nth-last-child(1){
          border: 0;
          margin-bottom: 0rpx;
        }
      }

      .other{
        margin-bottom: 20rpx;
        display: flex;
        .value{
          font-size: 24rpx;
        }
        .time{
          min-width: 180rpx;
          max-width: 360rpx;
        }
        .hospital{
          margin-left: 60rpx;
        }
      }

      .comment{
        display: flex;
        align-items: center;
        .icon{
          width: 20rpx;
          height: 18rpx;
        }
        .num{
          font-size: 24rpx;
          margin-left: 10rpx;
        }
        .list{
          display: flex;
          margin-left: 10rpx;

          .avatar{
            width: 30rpx;
            height: 30rpx;
            border: 6rpx #fff solid;
            margin-left: -10rpx;

            &:nth-child(1){
              margin-left: -5rpx;
            }
          }
        }
      }
    }

    .content{
      font-size: 32rpx;
      padding: 20rpx;
      border-radius: 16rpx;
      border: 1px #cdcdcd solid;
      color: #474747;
      line-height: 50rpx;
      text-align: justify;
    }
  }
}

.video-media{
  width: 100%;
  height: 400rpx;
}

.btns{
  display: flex;
  gap: 14px;
  margin: 30rpx 30rpx 0;

  .btn{
    width: 100%;
    height: 64rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8rpx;
    font-size: 24rpx;
    &.border{
      border: 1px solid #CECECE;
      color: #858585;
    }
    &.primary{
      background: #32A9F5;
      color: #fff;
    }
  }
}



.dialog{
  .weui-dialog{
    background:none;
  }
  .weui-dialog__hd{
    display: none;
  }
  .weui-dialog__bd{
    padding: 67rpx 20rpx 0;
    position: relative;
  }
}

.weui-mask{
  background: rgba(220, 220, 220, 0.6);
}

.trainResult{
  background: #fff;
  padding: 0 0 60rpx;
  border-radius: 9rpx;
  .logo{
    width: 134rpx;
    height: 134rpx;
    position: absolute;
    top: 0rpx;
    left: 50%;
    margin-left: -67rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 999rpx;
    border: 1px solid #E1E1E1;
    image{
      width: 112rpx;
      height: 104rpx;
    }
  }
  .content{
    padding: 110rpx 40rpx 0;
    color: #000;

    .title{
      font-size: 36rpx;
      color: #32A9F5;
    }

    .intro{
      font-size: 24rpx;
      color: #000;
      margin-top: 12rpx;
    }
  }
  .buttons{
    margin: 14rpx auto 0;
    .button{
      width: 468rpx;
      height: 72rpx;
      line-height: 72rpx;
      background: #32A9F5;
      border-radius: 8rpx;
      margin: 46rpx auto 0;
      color: #fff;
      font-size: 32rpx;
    }
  }
  .tips{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 50rpx);
    margin-top: 22rpx;
    gap: 12rpx;
    .tip{
      font-size: 24rpx;
      color:#000;
      border-radius: 999rpx;
      border: 1px rgba(219, 219, 219, 1) solid;
      display: flex;
      align-items: center;
      justify-content: center;
      &.checked{
        background:#32A9F5;
        border: 0;
        color:#fff;
      }
    }
  }
  .reason{
    margin: 20rpx 0 0;
    display: flex;
    width: 100%;
    border: 1px rgba(219, 219, 219, 1) solid;
    .span{
      white-space: nowrap;
      font-size: 24rpx;
      padding: 14rpx 0 0 16rpx;
    }
    .text{
      flex: 1;
      padding: 14rpx 0 0;
      textarea{
        width: 100%;
        height: 120rpx;
        text-align:left;
        font-size: 24rpx;
      }
    }
  }
}

.input, .textarea{
  width: 100%;
  border: 1px #cccccc solid;
  border-radius: 10rpx;
  padding: 5rpx;
  box-sizing: border-box;
  height: 80rpx;
}

.input{
  height: auto;
  padding: 0 5rpx;
}